package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 分类表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
public class Classfication extends Model<Classfication> {

    private static final long serialVersionUID = 1L;

    /**
     * 分类主键
     */
    private String id;
    /**
     * 分类名称
     */
    private String name;
    /**
     * 分类别名
     */
    private String alias;
    /**
     * 分类缩略图
     */
    @TableField("image_src")
    private String imageSrc;
    /**
     * 父ID
     */
    @TableField("parent_id")
    private String parentId;
    /**
     * 分类下商品数量
     */
    @TableField("product_mount")
    private Integer productMount;
    /**
     * 是否显示
     */
    @TableField("is_show")
    private String isShow;
    /**
     * 排序
     */
    private Integer rank;
    /**
     * 层级
     */
    private Integer level;
    /**
     * 路径
     */
    private String path;
    /**
     * 删除状态
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;
    @TableField("price_interval_number")
    private Integer priceIntervalNumber;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getImageSrc() {
        return imageSrc;
    }

    public void setImageSrc(String imageSrc) {
        this.imageSrc = imageSrc;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getProductMount() {
        return productMount;
    }

    public void setProductMount(Integer productMount) {
        this.productMount = productMount;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getPriceIntervalNumber() {
        return priceIntervalNumber;
    }

    public void setPriceIntervalNumber(Integer priceIntervalNumber) {
        this.priceIntervalNumber = priceIntervalNumber;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "Classfication{" +
        "id=" + id +
        ", name=" + name +
        ", alias=" + alias +
        ", imageSrc=" + imageSrc +
        ", parentId=" + parentId +
        ", productMount=" + productMount +
        ", isShow=" + isShow +
        ", rank=" + rank +
        ", level=" + level +
        ", path=" + path +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", priceIntervalNumber=" + priceIntervalNumber +
        "}";
    }
}
